home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sounds Terrific 2
/
Sounds Terrific II (1996)(Weird Science)(Disc 1 of 2)[Amiga-PC].iso
/
archives
/
amiga
/
treg.lha
/
Effects
/
Effects.s
< prev
next >
Wrap
Text File
|
1992-01-09
|
2KB
|
75 lines
;
; TREG II Effect Structure
;
HEADER: dc.b 'TREG' ; Header
dc.l 24975,2 ; TREG 2
SLIDE1: dc.b 'SLDR'
dc.l VALS1-NAME1 ; Sliders Name Length
NAME1: dc.b '',0 ; Sliders Name
even
VALS1: dc.l -1 ; Data Register
dc.l 0 ; Min Value
dc.l 0 ; Max Value
dc.l 0 ; Set Value
SLIDE2:
dc.l VALS2-NAME2 ; Sliders Name Length
NAME2: dc.b '',0 ; Sliders Name
even
VALS2: dc.l -1 ; Data Register
dc.l 0 ; Min Value
dc.l 0 ; Max Value
dc.l 0 ; Set Value
SLIDE3:
dc.l VALS3-NAME3 ; Sliders Name Length
NAME3: dc.b '',0 ; Sliders Name
even
VALS3: dc.l -1 ; Data Register
dc.l 0 ; Min Value
dc.l 0 ; Max Value
dc.l 0 ; Set Value
SLIDE4:
dc.l VALS4-NAME4 ; Sliders Name Length
NAME4: dc.b '',0 ; Sliders Name
even
VALS4: dc.l -1 ; Data Register
dc.l 0 ; Min Value
dc.l 0 ; Max Value
dc.l 0 ; Set Value
CODE:
dc.l LEFT-START ; Left Offset From Start
dc.l RIGHT-START ; Right Offset From Start
dc.l STEREO-START ; Stereo Offset From Start
START: ; Marks Code Start
LEFT: ; Left Channel Code
RTS
RIGHT: ; Right Channel Code
RTS
STEREO: ; Stereo Code
RTS
END ; Program END
NOTES
-----
If (0) Is Placed As The Offset Then TREG Will Disable The
Button To Select That Piece Of Code.
E.g - If You Place (0) In STEREO Then TREG Will
Disable The "S" Button On The Main Screen.
The Code MUST Be (PC) Relative As Hunks Will Be Removed!
The Code MUST Handle All Its Own Memory!
The Code MUST Store ALL Registers On The Stack And Return Them!
The Code MUST Handle Its Own Errors And Return A Code In D0
Error Codes (D0)
----- ----- ----
0 - Everything Worked Fine! (NO ERROR)
1 - Out Of Free Memory!
2 - Settings Error!
3 - Stack Error!
4 - Unknown Error!